.class public Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;
.super Ljava/lang/Object;
.source "BurstlyAnimatedBanner.java"

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4
    name = "BannerAnimationListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;


# direct methods
.method protected constructor <init>(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)V
    .locals 0
    .parameter

    .prologue
    .line 68
    iput-object p1, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 5
    .parameter "animation"

    .prologue
    const/4 v4, 0x0

    .line 84
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mInAnim:Landroid/view/animation/Animation;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$000(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Landroid/view/animation/Animation;

    move-result-object v0

    if-ne p1, v0, :cond_2

    .line 85
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mState:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$100(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    move-result-object v0

    sget-object v1, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;->IntroAnim:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    if-eq v0, v1, :cond_0

    .line 86
    sget-object v0, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->sLog:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "Burstly Convenience Layer"

    const-string v2, "Intro anim finished but no longer in intro anim state"

    new-array v3, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 89
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    sget-object v1, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;->OnScreen:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    #setter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mState:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;
    invoke-static {v0, v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$102(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    .line 91
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mAnimationCallbacks:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$200(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 92
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mAnimationCallbacks:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$200(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    invoke-interface {v0, v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;->onIntroAnimEnd(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)V

    .line 108
    :cond_1
    :goto_0
    return-void

    .line 95
    :cond_2
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mState:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$100(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    move-result-object v0

    sget-object v1, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;->OutroAnim:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    if-eq v0, v1, :cond_3

    .line 96
    sget-object v0, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->sLog:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "Burstly Convenience Layer"

    const-string v2, "Outro anim finished but no longer in outro anim state"

    new-array v3, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 99
    :cond_3
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    sget-object v1, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;->Offscreen:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    #setter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mState:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;
    invoke-static {v0, v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$102(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$State;

    .line 100
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    invoke-virtual {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->getBurstlyView()Lcom/burstly/lib/ui/BurstlyView;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/burstly/lib/ui/BurstlyView;->setVisibility(I)V

    .line 102
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mAnimationCallbacks:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$200(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;

    move-result-object v0

    if-eqz v0, :cond_4

    .line 103
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    #getter for: Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mAnimationCallbacks:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;
    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->access$200(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;

    move-result-object v0

    iget-object v1, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    invoke-interface {v0, v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$IAnimationListener;->onOutroAnimEnd(Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;)V

    .line 106
    :cond_4
    iget-object v0, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    new-instance v1, Lcom/burstly/lib/conveniencelayer/events/AdHideEvent;

    iget-object v2, p0, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner$BannerAnimationListener;->this$0:Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;

    iget-object v2, v2, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->mLastShow:Lcom/burstly/lib/conveniencelayer/events/AdShowEvent;

    invoke-direct {v1, v4, v2}, Lcom/burstly/lib/conveniencelayer/events/AdHideEvent;-><init>(ZLcom/burstly/lib/conveniencelayer/events/AdShowEvent;)V

    invoke-virtual {v0, v1}, Lcom/burstly/lib/conveniencelayer/BurstlyAnimatedBanner;->onHide(Lcom/burstly/lib/conveniencelayer/events/AdHideEvent;)V

    goto :goto_0
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter "animation"

    .prologue
    .line 75
    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter "animation"

    .prologue
    .line 71
    return-void
.end method
